.class public Lcom/instagram/android/fragment/gs;
.super Lcom/instagram/android/fragment/d;
.source "UserDetailFragment.java"

# interfaces
.implements Lcom/instagram/android/feed/a/b/aq;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/instagram/android/fragment/d",
        "<",
        "Lcom/instagram/android/feed/a/o;",
        ">;",
        "Lcom/instagram/android/feed/a/b/aq;"
    }
.end annotation


# instance fields
.field protected ad:Lcom/instagram/android/model/b/e;

.field private final ae:Lcom/instagram/android/fragment/gx;

.field private af:Lcom/instagram/android/feed/c/a;

.field private ag:Ljava/lang/String;

.field private ah:Ljava/lang/String;

.field private ai:Lcom/instagram/android/d/e/ah;

.field private aj:Lcom/instagram/android/d/j/k;

.field private ak:Z

.field private al:Landroid/content/DialogInterface$OnClickListener;


# direct methods
.method public constructor <init>()V
    .locals 2

    .prologue
    .line 51
    invoke-direct {p0}, Lcom/instagram/android/fragment/d;-><init>()V

    .line 57
    new-instance v0, Lcom/instagram/android/fragment/gx;

    const/4 v1, 0x0

    invoke-direct {v0, p0, v1}, Lcom/instagram/android/fragment/gx;-><init>(Lcom/instagram/android/fragment/gs;Lcom/instagram/android/fragment/gt;)V

    iput-object v0, p0, Lcom/instagram/android/fragment/gs;->ae:Lcom/instagram/android/fragment/gx;

    .line 275
    new-instance v0, Lcom/instagram/android/fragment/gv;

    invoke-direct {v0, p0}, Lcom/instagram/android/fragment/gv;-><init>(Lcom/instagram/android/fragment/gs;)V

    iput-object v0, p0, Lcom/instagram/android/fragment/gs;->al:Landroid/content/DialogInterface$OnClickListener;

    .line 404
    return-void
.end method

.method static synthetic a(Lcom/instagram/android/fragment/gs;Lcom/instagram/android/d/j/k;)Lcom/instagram/android/d/j/k;
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 51
    iput-object p1, p0, Lcom/instagram/android/fragment/gs;->aj:Lcom/instagram/android/d/j/k;

    return-object p1
.end method

.method static synthetic a(Lcom/instagram/android/fragment/gs;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 51
    invoke-direct {p0}, Lcom/instagram/android/fragment/gs;->aq()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method static synthetic a(Lcom/instagram/android/fragment/gs;Ljava/lang/String;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 51
    invoke-direct {p0, p1}, Lcom/instagram/android/fragment/gs;->a(Ljava/lang/String;)V

    return-void
.end method

.method private a(Ljava/lang/String;)V
    .locals 3
    .parameter

    .prologue
    .line 91
    if-eqz p1, :cond_1

    .line 92
    new-instance v0, Landroid/content/IntentFilter;

    invoke-direct {v0}, Landroid/content/IntentFilter;-><init>()V

    .line 93
    invoke-static {p1}, Lcom/instagram/android/model/b/e;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    .line 94
    invoke-static {p1}, Lcom/instagram/android/model/b/e;->b(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    .line 96
    invoke-direct {p0}, Lcom/instagram/android/fragment/gs;->ar()Z

    move-result v1

    if-eqz v1, :cond_0

    .line 97
    const-string v1, "PendingMediaService.BROADCAST_INTENT_NEW_MEDIA"

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    .line 100
    :cond_0
    invoke-virtual {p0}, Lcom/instagram/android/fragment/gs;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-static {v1}, Landroid/support/v4/a/e;->a(Landroid/content/Context;)Landroid/support/v4/a/e;

    move-result-object v1

    iget-object v2, p0, Lcom/instagram/android/fragment/gs;->ae:Lcom/instagram/android/fragment/gx;

    invoke-virtual {v1, v2, v0}, Landroid/support/v4/a/e;->a(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)V

    .line 102
    :cond_1
    return-void
.end method

.method static synthetic a(Lcom/instagram/android/fragment/gs;Z)Z
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 51
    iput-boolean p1, p0, Lcom/instagram/android/fragment/gs;->ak:Z

    return p1
.end method

.method private aq()Ljava/lang/String;
    .locals 1

    .prologue
    .line 109
    invoke-virtual {p0}, Lcom/instagram/android/fragment/gs;->am()Lcom/instagram/android/model/b/e;

    move-result-object v0

    .line 110
    if-eqz v0, :cond_0

    invoke-virtual {v0}, Lcom/instagram/android/model/b/e;->k()Ljava/lang/String;

    move-result-object v0

    :goto_0
    return-object v0

    :cond_0
    iget-object v0, p0, Lcom/instagram/android/fragment/gs;->ah:Ljava/lang/String;

    goto :goto_0
.end method

.method private ar()Z
    .locals 2

    .prologue
    .line 212
    invoke-static {}, Lcom/instagram/service/a;->a()Lcom/instagram/service/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/service/a;->b()Lcom/instagram/android/model/b/e;

    move-result-object v0

    invoke-virtual {p0}, Lcom/instagram/android/fragment/gs;->am()Lcom/instagram/android/model/b/e;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/model/b/e;->equals(Ljava/lang/Object;)Z

    move-result v0

    return v0
.end method

.method private as()V
    .locals 3

    .prologue
    .line 299
    new-instance v0, Lcom/instagram/ui/a/a;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/gs;->j()Landroid/support/v4/app/j;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/instagram/ui/a/a;-><init>(Landroid/content/Context;)V

    invoke-virtual {p0}, Lcom/instagram/android/fragment/gs;->ap()[Ljava/lang/CharSequence;

    move-result-object v1

    iget-object v2, p0, Lcom/instagram/android/fragment/gs;->al:Landroid/content/DialogInterface$OnClickListener;

    invoke-virtual {v0, v1, v2}, Lcom/instagram/ui/a/a;->a([Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Lcom/instagram/ui/a/a;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/instagram/ui/a/a;->b(Z)Lcom/instagram/ui/a/a;

    move-result-object v0

    sget v1, Lcom/facebook/ba;->cancel:I

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Lcom/instagram/ui/a/a;->a(ILandroid/content/DialogInterface$OnClickListener;)Lcom/instagram/ui/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/ui/a/a;->b()Landroid/app/Dialog;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Dialog;->show()V

    .line 305
    return-void
.end method

.method static synthetic b(Lcom/instagram/android/fragment/gs;)Lcom/instagram/android/d/j/k;
    .locals 1
    .parameter

    .prologue
    .line 51
    iget-object v0, p0, Lcom/instagram/android/fragment/gs;->aj:Lcom/instagram/android/d/j/k;

    return-object v0
.end method

.method static synthetic c(Lcom/instagram/android/fragment/gs;)Z
    .locals 1
    .parameter

    .prologue
    .line 51
    invoke-direct {p0}, Lcom/instagram/android/fragment/gs;->ar()Z

    move-result v0

    return v0
.end method

.method static synthetic d(Lcom/instagram/android/fragment/gs;)V
    .locals 0
    .parameter

    .prologue
    .line 51
    invoke-direct {p0}, Lcom/instagram/android/fragment/gs;->as()V

    return-void
.end method

.method static synthetic e(Lcom/instagram/android/fragment/gs;)Lcom/instagram/android/d/e/ah;
    .locals 1
    .parameter

    .prologue
    .line 51
    iget-object v0, p0, Lcom/instagram/android/fragment/gs;->ai:Lcom/instagram/android/d/e/ah;

    return-object v0
.end method

.method static synthetic f(Lcom/instagram/android/fragment/gs;)Lcom/instagram/android/feed/c/a;
    .locals 1
    .parameter

    .prologue
    .line 51
    iget-object v0, p0, Lcom/instagram/android/fragment/gs;->af:Lcom/instagram/android/feed/c/a;

    return-object v0
.end method


# virtual methods
.method protected synthetic Z()Lcom/instagram/android/feed/a/a;
    .locals 1

    .prologue
    .line 51
    invoke-virtual {p0}, Lcom/instagram/android/fragment/gs;->ao()Lcom/instagram/android/feed/a/o;

    move-result-object v0

    return-object v0
.end method

.method public a()Lcom/instagram/a/a;
    .locals 1

    .prologue
    .line 218
    new-instance v0, Lcom/instagram/android/fragment/gt;

    invoke-direct {v0, p0}, Lcom/instagram/android/fragment/gt;-><init>(Lcom/instagram/android/fragment/gs;)V

    return-object v0
.end method

.method protected a(Lcom/instagram/android/d/j/f;)Lcom/instagram/android/d/e/s;
    .locals 3
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/instagram/android/d/j/f",
            "<",
            "Lcom/instagram/android/model/k;",
            ">;)",
            "Lcom/instagram/android/d/e/s;"
        }
    .end annotation

    .prologue
    .line 167
    invoke-virtual {p0}, Lcom/instagram/android/fragment/gs;->am()Lcom/instagram/android/model/b/e;

    move-result-object v1

    .line 169
    if-eqz v1, :cond_0

    new-instance v0, Lcom/instagram/android/d/e/ak;

    invoke-direct {p0}, Lcom/instagram/android/fragment/gs;->aq()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/String;->hashCode()I

    move-result v2

    invoke-direct {v0, p0, v2, p1, v1}, Lcom/instagram/android/d/e/ak;-><init>(Lcom/instagram/android/fragment/d;ILcom/instagram/android/d/j/f;Lcom/instagram/android/model/b/e;)V

    :goto_0
    return-object v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public a(Landroid/os/Bundle;)V
    .locals 3
    .parameter

    .prologue
    .line 83
    invoke-super {p0, p1}, Lcom/instagram/android/fragment/d;->a(Landroid/os/Bundle;)V

    .line 84
    new-instance v0, Lcom/instagram/android/feed/c/a;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/gs;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {p0}, Lcom/instagram/android/fragment/gs;->u()Landroid/support/v4/app/aj;

    move-result-object v2

    invoke-direct {v0, v1, v2}, Lcom/instagram/android/feed/c/a;-><init>(Landroid/content/Context;Landroid/support/v4/app/aj;)V

    iput-object v0, p0, Lcom/instagram/android/fragment/gs;->af:Lcom/instagram/android/feed/c/a;

    .line 85
    invoke-virtual {p0}, Lcom/instagram/android/fragment/gs;->al()V

    .line 86
    invoke-direct {p0}, Lcom/instagram/android/fragment/gs;->aq()Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/instagram/android/fragment/gs;->a(Ljava/lang/String;)V

    .line 87
    invoke-virtual {p0}, Lcom/instagram/android/fragment/gs;->an()V

    .line 88
    return-void
.end method

.method public a(Ljava/util/Map;)V
    .locals 2
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 396
    const-string v0, "src"

    const-string v1, "profile"

    invoke-interface {p1, v0, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 397
    return-void
.end method

.method protected aa()Lcom/instagram/android/feed/a/i;
    .locals 1

    .prologue
    .line 272
    sget-object v0, Lcom/instagram/android/feed/a/i;->b:Lcom/instagram/android/feed/a/i;

    return-object v0
.end method

.method protected ak()V
    .locals 1

    .prologue
    .line 330
    invoke-virtual {p0}, Lcom/instagram/android/fragment/gs;->Y()Lcom/instagram/android/feed/a/a;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/feed/a/o;

    invoke-virtual {v0}, Lcom/instagram/android/feed/a/o;->notifyDataSetChanged()V

    .line 332
    invoke-virtual {p0}, Lcom/instagram/android/fragment/gs;->r()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 333
    invoke-static {}, Lcom/instagram/a/c;->a()Lcom/instagram/a/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/a/c;->b()V

    .line 335
    :cond_0
    return-void
.end method

.method protected al()V
    .locals 2

    .prologue
    .line 130
    invoke-virtual {p0}, Lcom/instagram/android/fragment/gs;->i()Landroid/os/Bundle;

    move-result-object v0

    .line 132
    const-string v1, "UserDetailFragment.EXTRA_USER_ID"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 133
    const-string v1, "UserDetailFragment.EXTRA_USER_ID"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/fragment/gs;->ah:Ljava/lang/String;

    .line 134
    invoke-static {}, Lcom/instagram/service/d;->a()Lcom/instagram/service/d;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/fragment/gs;->ah:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/instagram/service/d;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/model/b/e;

    iput-object v0, p0, Lcom/instagram/android/fragment/gs;->ad:Lcom/instagram/android/model/b/e;

    .line 141
    :goto_0
    return-void

    .line 135
    :cond_0
    const-string v1, "UserDetailFragment.EXTRA_USER_NAME"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 136
    const-string v1, "UserDetailFragment.EXTRA_USER_NAME"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/fragment/gs;->ag:Ljava/lang/String;

    .line 137
    invoke-static {}, Lcom/instagram/service/d;->a()Lcom/instagram/service/d;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/fragment/gs;->ag:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/instagram/service/d;->a(Ljava/lang/String;)Lcom/instagram/android/model/b/e;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/fragment/gs;->ad:Lcom/instagram/android/model/b/e;

    goto :goto_0

    .line 139
    :cond_1
    new-instance v0, Ljava/lang/RuntimeException;

    const-string v1, "User Detail Fragment started without user id or username"

    invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V

    throw v0
.end method

.method protected am()Lcom/instagram/android/model/b/e;
    .locals 1

    .prologue
    .line 105
    iget-object v0, p0, Lcom/instagram/android/fragment/gs;->ad:Lcom/instagram/android/model/b/e;

    return-object v0
.end method

.method public an()V
    .locals 6

    .prologue
    const/4 v5, 0x0

    .line 144
    new-instance v0, Lcom/instagram/android/d/e/ah;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/gs;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {p0}, Lcom/instagram/android/fragment/gs;->u()Landroid/support/v4/app/aj;

    move-result-object v2

    invoke-static {}, Lcom/instagram/android/util/w;->a()I

    move-result v3

    new-instance v4, Lcom/instagram/android/fragment/gz;

    invoke-direct {v4, p0, v5}, Lcom/instagram/android/fragment/gz;-><init>(Lcom/instagram/android/fragment/gs;Lcom/instagram/android/fragment/gt;)V

    invoke-direct {v0, v1, v2, v3, v4}, Lcom/instagram/android/d/e/ah;-><init>(Landroid/content/Context;Landroid/support/v4/app/aj;ILcom/instagram/android/d/j/f;)V

    iput-object v0, p0, Lcom/instagram/android/fragment/gs;->ai:Lcom/instagram/android/d/e/ah;

    .line 151
    invoke-virtual {p0}, Lcom/instagram/android/fragment/gs;->am()Lcom/instagram/android/model/b/e;

    move-result-object v1

    .line 153
    if-eqz v1, :cond_1

    .line 154
    invoke-virtual {p0}, Lcom/instagram/android/fragment/gs;->Y()Lcom/instagram/android/feed/a/a;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/feed/a/o;

    invoke-virtual {v0, v1}, Lcom/instagram/android/feed/a/o;->a(Ljava/lang/Object;)V

    .line 155
    iget-object v0, p0, Lcom/instagram/android/fragment/gs;->ai:Lcom/instagram/android/d/e/ah;

    invoke-virtual {v1}, Lcom/instagram/android/model/b/e;->k()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/d/e/ah;->a(Ljava/lang/String;)V

    .line 161
    :cond_0
    :goto_0
    const/4 v0, 0x1

    new-instance v1, Lcom/instagram/android/fragment/gy;

    invoke-direct {v1, p0, v5}, Lcom/instagram/android/fragment/gy;-><init>(Lcom/instagram/android/fragment/gs;Lcom/instagram/android/fragment/gt;)V

    invoke-virtual {p0, v0, v1}, Lcom/instagram/android/fragment/gs;->a(ZLcom/instagram/android/fragment/o;)V

    .line 162
    return-void

    .line 156
    :cond_1
    invoke-direct {p0}, Lcom/instagram/android/fragment/gs;->aq()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_2

    .line 157
    iget-object v0, p0, Lcom/instagram/android/fragment/gs;->ai:Lcom/instagram/android/d/e/ah;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/gs;->i()Landroid/os/Bundle;

    move-result-object v1

    const-string v2, "UserDetailFragment.EXTRA_USER_ID"

    invoke-virtual {v1, v2}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/d/e/ah;->a(Ljava/lang/String;)V

    goto :goto_0

    .line 158
    :cond_2
    iget-object v0, p0, Lcom/instagram/android/fragment/gs;->ag:Ljava/lang/String;

    if-eqz v0, :cond_0

    .line 159
    iget-object v0, p0, Lcom/instagram/android/fragment/gs;->ai:Lcom/instagram/android/d/e/ah;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/gs;->i()Landroid/os/Bundle;

    move-result-object v1

    const-string v2, "UserDetailFragment.EXTRA_USER_NAME"

    invoke-virtual {v1, v2}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/d/e/ah;->b(Ljava/lang/String;)V

    goto :goto_0
.end method

.method protected ao()Lcom/instagram/android/feed/a/o;
    .locals 2

    .prologue
    .line 175
    new-instance v0, Lcom/instagram/android/feed/a/o;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/gs;->aa()Lcom/instagram/android/feed/a/i;

    move-result-object v1

    invoke-direct {v0, p0, v1, p0}, Lcom/instagram/android/feed/a/o;-><init>(Lcom/instagram/android/fragment/d;Lcom/instagram/android/feed/a/i;Lcom/instagram/android/feed/a/b/aq;)V

    return-object v0
.end method

.method public ap()[Ljava/lang/CharSequence;
    .locals 3

    .prologue
    .line 308
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 309
    invoke-virtual {p0}, Lcom/instagram/android/fragment/gs;->am()Lcom/instagram/android/model/b/e;

    move-result-object v1

    invoke-virtual {p0}, Lcom/instagram/android/fragment/gs;->l()Landroid/content/res/Resources;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/instagram/android/feed/c/a;->a(Lcom/instagram/android/model/b/e;Landroid/content/res/Resources;)Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 310
    sget v1, Lcom/facebook/ba;->report_inappropriate:I

    invoke-virtual {p0, v1}, Lcom/instagram/android/fragment/gs;->b(I)Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 312
    iget-object v1, p0, Lcom/instagram/android/fragment/gs;->ad:Lcom/instagram/android/model/b/e;

    invoke-virtual {v1}, Lcom/instagram/android/model/b/e;->v()Z

    move-result v1

    if-eqz v1, :cond_0

    .line 313
    sget v1, Lcom/facebook/ba;->directshare_receive_direct_posts:I

    invoke-virtual {p0, v1}, Lcom/instagram/android/fragment/gs;->b(I)Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 316
    :cond_0
    invoke-static {}, Lcom/instagram/service/a;->a()Lcom/instagram/service/a;

    move-result-object v1

    invoke-virtual {v1}, Lcom/instagram/service/a;->b()Lcom/instagram/android/model/b/e;

    move-result-object v1

    invoke-virtual {v1}, Lcom/instagram/android/model/b/e;->l()Z

    move-result v1

    if-eqz v1, :cond_1

    .line 317
    sget v1, Lcom/facebook/ba;->suggest_user:I

    invoke-virtual {p0, v1}, Lcom/instagram/android/fragment/gs;->b(I)Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 320
    :cond_1
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v1

    new-array v1, v1, [Ljava/lang/CharSequence;

    .line 321
    invoke-interface {v0, v1}, Ljava/util/List;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;

    move-result-object v0

    check-cast v0, [Ljava/lang/CharSequence;

    return-object v0
.end method

.method public d_()Ljava/lang/String;
    .locals 1

    .prologue
    .line 401
    invoke-direct {p0}, Lcom/instagram/android/fragment/gs;->ar()Z

    move-result v0

    if-eqz v0, :cond_0

    const-string v0, "self_profile"

    :goto_0
    return-object v0

    :cond_0
    const-string v0, "profile"

    goto :goto_0
.end method

.method public e()Z
    .locals 5

    .prologue
    const/4 v3, 0x0

    const/4 v1, 0x1

    const/4 v2, 0x0

    .line 372
    invoke-virtual {p0}, Lcom/instagram/android/fragment/gs;->r()Z

    move-result v0

    if-nez v0, :cond_1

    .line 392
    :cond_0
    :goto_0
    return v2

    .line 376
    :cond_1
    invoke-direct {p0}, Lcom/instagram/android/fragment/gs;->aq()Ljava/lang/String;

    move-result-object v0

    if-nez v0, :cond_3

    move-object v0, v3

    .line 380
    :goto_1
    if-eqz v0, :cond_4

    invoke-virtual {v0}, Landroid/support/v4/a/c;->h()Z

    move-result v0

    if-eqz v0, :cond_4

    move v0, v1

    .line 384
    :goto_2
    iget-object v4, p0, Lcom/instagram/android/fragment/gs;->ad:Lcom/instagram/android/model/b/e;

    if-nez v4, :cond_7

    .line 385
    iget-object v4, p0, Lcom/instagram/android/fragment/gs;->ai:Lcom/instagram/android/d/e/ah;

    if-nez v4, :cond_5

    .line 389
    :goto_3
    if-eqz v3, :cond_6

    invoke-virtual {v3}, Landroid/support/v4/a/c;->h()Z

    move-result v3

    if-eqz v3, :cond_6

    move v3, v1

    .line 392
    :goto_4
    if-nez v3, :cond_2

    if-eqz v0, :cond_0

    :cond_2
    move v2, v1

    goto :goto_0

    .line 376
    :cond_3
    invoke-virtual {p0}, Lcom/instagram/android/fragment/gs;->u()Landroid/support/v4/app/aj;

    move-result-object v0

    invoke-direct {p0}, Lcom/instagram/android/fragment/gs;->aq()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/String;->hashCode()I

    move-result v4

    invoke-virtual {v0, v4}, Landroid/support/v4/app/aj;->b(I)Landroid/support/v4/a/c;

    move-result-object v0

    goto :goto_1

    :cond_4
    move v0, v2

    .line 380
    goto :goto_2

    .line 385
    :cond_5
    invoke-virtual {p0}, Lcom/instagram/android/fragment/gs;->u()Landroid/support/v4/app/aj;

    move-result-object v3

    iget-object v4, p0, Lcom/instagram/android/fragment/gs;->ai:Lcom/instagram/android/d/e/ah;

    invoke-virtual {v4}, Lcom/instagram/android/d/e/ah;->n()I

    move-result v4

    invoke-virtual {v3, v4}, Landroid/support/v4/app/aj;->b(I)Landroid/support/v4/a/c;

    move-result-object v3

    goto :goto_3

    :cond_6
    move v3, v2

    .line 389
    goto :goto_4

    :cond_7
    move v3, v2

    goto :goto_4
.end method

.method public h_()Z
    .locals 1

    .prologue
    .line 348
    iget-object v0, p0, Lcom/instagram/android/fragment/gs;->ad:Lcom/instagram/android/model/b/e;

    if-eqz v0, :cond_1

    .line 349
    iget-object v0, p0, Lcom/instagram/android/fragment/gs;->ad:Lcom/instagram/android/model/b/e;

    invoke-static {v0}, Lcom/instagram/android/model/b/p;->b(Lcom/instagram/android/model/b/e;)Z

    move-result v0

    if-nez v0, :cond_0

    const/4 v0, 0x1

    .line 351
    :goto_0
    return v0

    .line 349
    :cond_0
    const/4 v0, 0x0

    goto :goto_0

    .line 351
    :cond_1
    invoke-super {p0}, Lcom/instagram/android/fragment/d;->h_()Z

    move-result v0

    goto :goto_0
.end method

.method public l_()V
    .locals 0

    .prologue
    .line 339
    return-void
.end method

.method public m_()V
    .locals 2

    .prologue
    .line 343
    invoke-virtual {p0}, Lcom/instagram/android/fragment/gs;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-direct {p0}, Lcom/instagram/android/fragment/gs;->aq()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/instagram/android/maps/f/a;->a(Landroid/app/Activity;Ljava/lang/String;)V

    .line 344
    return-void
.end method

.method public w()V
    .locals 2

    .prologue
    .line 121
    invoke-super {p0}, Lcom/instagram/android/fragment/d;->w()V

    .line 123
    iget-object v0, p0, Lcom/instagram/android/fragment/gs;->aj:Lcom/instagram/android/d/j/k;

    sget-object v1, Lcom/instagram/android/d/j/k;->d:Lcom/instagram/android/d/j/k;

    if-eq v0, v1, :cond_0

    iget-boolean v0, p0, Lcom/instagram/android/fragment/gs;->ak:Z

    if-eqz v0, :cond_1

    .line 124
    :cond_0
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/instagram/android/fragment/gs;->ak:Z

    .line 125
    invoke-virtual {p0}, Lcom/instagram/android/fragment/gs;->an()V

    .line 127
    :cond_1
    return-void
.end method

.method public y()V
    .locals 2

    .prologue
    .line 115
    invoke-virtual {p0}, Lcom/instagram/android/fragment/gs;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-static {v0}, Landroid/support/v4/a/e;->a(Landroid/content/Context;)Landroid/support/v4/a/e;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/fragment/gs;->ae:Lcom/instagram/android/fragment/gx;

    invoke-virtual {v0, v1}, Landroid/support/v4/a/e;->a(Landroid/content/BroadcastReceiver;)V

    .line 116
    invoke-super {p0}, Lcom/instagram/android/fragment/d;->y()V

    .line 117
    return-void
.end method
